﻿using System;
using System.Collections.Generic;
using System.Text;
using UnityEngine;
using Common;
namespace Common
{
    public class InputInstance
    {
        public bool ActionIdle = true, Run = false, Jump = false, MoveLeft = false, MoveRight = false,
            Fire1 = false, Fire2 = false, Fire3 = false,
                    Action1 = false, Action2 = false, Action3 = false, Grounded = true;

        public MovementType MoveDirection
        {
            get
            {
                if (MoveLeft) return MovementType.Left;
                if (MoveRight) return MovementType.Right;
                return MovementType.None;
            }
        }
    }
}